# 🚨 Don't change the code below 👇
print("Welcome to the Love Calculator!")
name1 = input("What is your name? \n")
name2 = input("What is their name? \n")
# 🚨 Don't change the code above 👆

#Write your code below this line 👇

names = (name1 + name2).lower()
check_words = ["true", "love"]

score = ""

for word in check_words:
    digit = 0
    for num in range(len(word)):
        digit += names.count(word[num])
    if digit >= 10:
        digit = 9

    score += str(digit)

print(score)

#TODO results with annotation https://repl.it/@appbrewery/day-3-5-exercise#README.md
